html { overflow: hidden; }

html, body {
     margin: 0;
     padding: 0;
     height: 100%;
}

body { margin: 10px; }

#content {
     margin-top: 10px;
     position: relative;
}

#map {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     border: 1px solid #aaa;
}

#map-wrapper {
     position: relative;
     height: 100%;
}

#sidebar {
     position: absolute;
     border: 1px solid #aaa;
     top: 0;
     width: 220px;
     height: 100%;
     overflow: auto;
}

#sidebar p {
     margin: 10px;
}

#sidebar ul#sidebar-list {
     list-style: none;
     padding: 6px 0 0 0 ;
     margin: 0;
}

#sidebar ul#sidebar-list li {
	position: relative;
	padding: 2px 5px 2px 50px;
	clear:left;
}

#sidebar ul#sidebar-list li div.label {
	float: left;
	margin-left: -40px;
	width: 40px;
	position:relative;
	padding: 1px 3px 1px;
	background: red;
	color: white;
}

#sidebar ul#sidebar-list li a {
	font-family: Arial;
	font-size: 11px;
	color: #445555;
	text-decoration: none;
	padding: 2px 3px;
}


div.LabeledMarker_markerLabel {
	display: block;
	padding-top: 9px;
}

div.LabeledMarker_markerLabel,
#sidebar ul#sidebar-list li div.label {
	text-align: center;
	color: white;
	width: 32px;
	letter-spacing: 0px;
	font-size: 12px;
	font-family: Arial;
}


body.sidebar-right #map-wrapper { margin-right: 230px; }
body.sidebar-right #sidebar { right: 0; }

body.nosidebar #map-wrapper { margin: 0; }
body.nosidebar #sidebar { display: none; }

body.sidebar-right a#button-sidebar-show,
body.nosidebar a#button-sidebar-hide { display: none; }

#toolbar {
     background: white;
     padding: 4px;
     border: 1px solid black;
     position: relative;
}

/* holly hack for IE to get position:bottom right
   see: http://www.positioniseverything.net/abs_relbugs.html
 \*/
* html #toolbar { height: 1px; }
/* */

#toolbar h1 {
     margin: 0;
     font: bold 18px Helvetica, sans-serif;
}

#toolbar ul {
     list-style: none;
     padding: 0;
     margin: 0;
}

#toolbar ul#sidebar-controls li {
	position: absolute;
	right: 5px;
	bottom: 5px;
}

#toolbar ul li {
     display: inline;
}

#toolbar ul li a {
     padding: 3px 6px;
     color: #444;
     text-decoration: none;
     font-size: 12px;
}

#toolbar ul li a:hover {
     color: #aaa;
     background: #444;
}
